import java.awt.Color;
/**
 *this class has two coords between which i need to draw the lines
 *and it has a colour attribute which will dtermine the colour of 
 *line drawn. All its members are public as i wanted to use it as
 *a struct.
 ***/
	
public class OrderedCoOrds{
	public CoOrds first;
	public CoOrds sec;
	public Color color;
	public OrderedCoOrds(CoOrds x,CoOrds y,Color c){
		first=x;
		sec=y;
		color=c;
		}
	public String toString(){
		String s=first.toString()+sec.toString();
		return s;
		}
	}